package com.zs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 *
 * 路由网关
 *   /api-a/** ---->服务a
 *   /api-b/** ---->服务b
 * Description:
 *
 * @author: zsq-1186
 * Date: 2017-08-15-17:15
 */

@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy
public class ZullApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZullApplication.class);
    }
}
